import yaml

with open('my_yaml_3.yml', 'r', encoding='utf8') as f:
    data = yaml.load(f, Loader=yaml.FullLoader)
    print(data)
    print(data['websites']['URL'])
    print(data['websites']['IP'])
    print(data['websites']['Port'])
